package com.zenika.zenbinding.sample.model;

import com.zenika.zenbinding.client.model.BusinessObject;

public class Address implements BusinessObject {

	private int number;
	private String streetName;
	private String postalCode;
	private City city;

	public Address() {
		super();
	}

	public Address(int number, String streetName, String postalCode) {
		super();
		this.number = number;
		this.streetName = streetName;
		this.postalCode = postalCode;
	}

	public int getNumber() {
		return this.number;
	}

	public void setNumber(int number) {
		this.number = number;
	}

	public String getStreetName() {
		return this.streetName;
	}

	public void setStreetName(String streetName) {
		this.streetName = streetName;
	}

	public String getPostalCode() {
		return this.postalCode;
	}

	public void setPostalCode(String postalCode) {
		this.postalCode = postalCode;
	}

	public City getCity() {
		return this.city;
	}

	public void setCity(City city) {
		this.city = city;
	}

}
